package com.ewei.web.authority.vo;


import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(Include.NON_EMPTY)
public class RoleVo {
	
	private String id;
	
	private String name;
	
	private List<PermissionVo> permissions = new ArrayList<PermissionVo>();
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public List<PermissionVo> getPermissions() {
		return permissions;
	}
	public void setPermissions(List<PermissionVo> permissions) {
		this.permissions = permissions;
	}
	
}
